import React, { useMemo } from "react";
import { Form, DataSet, Select } from "choerodon-ui/pro";
import getFormDSProps from './formDs';
import 'choerodon-ui/pro/lib/field/style/index.css';

const { Option } = Select;
const FormatterNumber: React.FC = (): React.ReactElement => {
  const formDataSet = useMemo(() => new DataSet(getFormDSProps()), []);

  return (
    <Form dataSet={formDataSet} style={{ width: '4.5rem' }}>
      <Select multiple name="multipleSelect">
        <Option value="jack">Jack</Option>
        <Option value="lucy">Lucy</Option>
        <Option value="wu">Wu</Option>
      </Select>
    </Form>
  );
};

export default FormatterNumber;